<div id="main_wrap">
	<div class="center_wrap clearfix">
        <h2 class="no_bottom no_top breadcrumb">
        	{$lang302}
        </h2>
		{include file="accountmenu.tpl"}        
		<div class="right col1">
            <div class="cat_box_full clearfix"> 
                <ul id="search_nav" class="clearfix">
                    <li class="current">{$lang302}<span></span></li>
                </ul>
                <div class="cat_body_full clearfix">
                  
                {if $error ne ""}
                {include file="show_error.tpl"}
                {/if}
                {if $showmessage ne ""}
                {include file="show_message.tpl"}
                {/if}
                  
                  <!-- LOOP START -->
                  {section name=i loop=$listvideos}
                  {insert name=get_member_profilepicture assign=profilefpic value=var USERID=$listvideos[i].REQUESTER}
                  <h1>{$lang303} {insert name=get_username_from_userid value=var USERID=$listvideos[i].REQUESTER}</h1>
                  <div class="search_row">
                      <div class="aud_cont">
                          <span class="channel_thumb">
                            <a href="{$baseurl}/members/profile/{$listvideos[i].REQUESTER}/{insert name=get_username_from_userid value=var USERID=$listvideos[i].REQUESTER}" title="{$profilefname}"><img src="{$membersprofilepicurl}/thumbs/{$profilefpic}" alt="{insert name=get_username_from_userid value=var USERID=$listvideos[i].REQUESTER}"></a>
                          </span>
                      </div>
    
                      <h4 class="blue no_bottom"><a href="{$baseurl}/members/profile/{$listvideos[i].REQUESTER}/{insert name=get_username_from_userid value=var USERID=$listvideos[i].REQUESTER}">{insert name=get_username_from_userid USERID=$listvideos[i].REQUESTER}</a></h4>
                      {if $listvideos[i].message ne ""}
                      <p align="left"><b>{$lang268}:</b> {$listvideos[i].message}</p>
                      {/if}
                      <p class="text_gray2 no_bottom no_top">
                      	<table cellpadding="0" cellspacing="5" border="0">
                        <tr>
                        <td>
                        <form id="acceptform" name="acceptform" action="{$baseurl}/myfriendrequests.php" method="post">
                        <input type="hidden" name="acceptRID" value="{$listvideos[i].RID}">
                        <input type="submit" name="acceptrequest" value="{$lang14}" />
                        </form>
                        </td>
                        <td>
                        <form id="declineform" name="declineform" action="{$baseurl}/myfriendrequests.php" method="post">
                        <input type="hidden" name="declineRID" value="{$listvideos[i].RID}">
                        <input type="submit" name="declinerequest" value="{$lang15}" />
                        </form>
                        </td>
                        </tr>
                        </table>
                      </p>
                  </div>
                  <br />
                  <hr />
                  <br />
                  {/section}
                  <!-- LOOP END -->
    
                </div>
  			</div>
		</div>
    	<div class="clear"></div>
	</div>
</div>

























    
            {section name=i loop=$listvideos}
            <ul class="vList_vFullSeries clearfix clear">
			<li>
            	<ul class="vList_vFullSeriesSub clearfix clear">
                    <center>
                    <table width="250px" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                    <td>
                    <form id="acceptform" name="acceptform" action="{$baseurl}/myfriendrequests.php" method="post">
                    <input type="hidden" name="acceptRID" value="{$listvideos[i].RID}">
                    <input type="hidden" name="acceptrequest" value="acceptrequest" />
        			<INPUT class="inputBox" type=image value="acceptrequest" src="{$imageurl}/buttons/{$smarty.session.language}/acceptsmall.gif" height="20px" style="height:20px;" border="0" name=acceptrequest>
                    </form>
                    </td>
                    <td>
                    <form id="declineform" name="declineform" action="{$baseurl}/myfriendrequests.php" method="post">
                    <input type="hidden" name="declineRID" value="{$listvideos[i].RID}">
                    <input type="hidden" name="declinerequest" value="declinerequest" />
        			<INPUT class="inputBox" type=image value="declinerequest" src="{$imageurl}/buttons/{$smarty.session.language}/declinesmall.gif" height="20px" style="height:20px;" border="0" name=declinerequest>
                    </form>
                    </td>
                    </tr>
                    </table>
                    </center>
                    
            	</ul>         
			</li>
            </ul>
            <br />
            {/section}